package cn.itcast.health.mapper;

import cn.itcast.health.pojo.Member;
import cn.itcast.health.pojo.Order;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {
    int isOrdersetting(@Param("count") int count, @Param("orderDate") String orderDate);

    void isMemberOrUpdate(Member member);

    void addOrderData(Order order);

    Member findByPhoneMember(@Param("phoneNumber") String phoneNumber);

    Order findByIdOrder(@Param("id") Integer id, @Param("orderDate") String orderDate, @Param("setmealId") String setmealId);
}
